package com.jcoinexchange.trade.controller.web;

import com.jcoinexchange.trade.common.vo.CoinPairListReq;
import com.jcoinexchange.trade.common.vo.CoinPairDetailRequest;
import com.jcoinexchange.trade.common.vo.CoinPairVO;
import com.jcoinexchange.web.entity.BasicResponse;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.validation.Valid;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@Tag(name = "交易对")
@RestController
@RequestMapping("/coin-pair")
public class TradeCoinPairController {

    @Operation(summary = "交易对列表")
    @PostMapping("/list")
    public BasicResponse<List<CoinPairVO>> list(@Valid CoinPairListReq request) {
        return null;
    }

    @Operation(summary = "交易对详情")
    @PostMapping("/detail")
    public BasicResponse<CoinPairVO> detail(@Valid CoinPairDetailRequest request) {
        return null;
    }
}
